#include <stdio.h>

int main()
{	int a;
	do{
		a = getchar();
		printf("%c\n", a);
		getchar();
	}while (a != '\n') ;
	return 0;
}
